package com.future.common.api.admin.entry;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author: liuby5
 * @CreateTime: 2022-08-12  14:35
 * @Description: 系统菜单权限表
 * @Version: 1.0
 */

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_menu_permission")
public class SysMenuPermission extends Model<SysMenuPermission> {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;


    /**
     * 菜单id
     */
    @TableField(exist = true)
    private Integer menuId;
    /**
     * 菜单权限
     */
    @TableField(exist = true)
    private String permission;

    /**
     * 删除标志
     */
    @TableLogic
    @TableField(exist = true)
    private Integer delFlag;


    /**
     * 是否选中
     */
    @TableField(exist = true)
    private String checked;


    /**
     * 角色id
     */
    @TableField(exist = true)
    private String roleId;
}
